Job scheduling analysis method and system using historical job execution data

ABSTRACT

A job scheduling analysis method and system are disclosed in which a job schedule is analyzed by use of historical job execution data in a computer system in which a plurality of jobs are executed in parallel. Historical execution data of a plurality of jobs and the file names of files accessed by the jobs are collected. The maximum multiplicity of jobs capable of operating in parallel on the computer system is inputted. When the file name of a file accessed by one job and the file name of a file accessed by another other job coincide with each other, an execution start condition of the plurality of jobs are determined to execute the one job and the other job at the earliest instants within the maximum job multiplicity so that the sequence of execution of processings by the one job and the other job is maintained and the execution time of the one job and the execution time of said other job do not overlap each other. Thereby, it is possible to simulate the influence of a change in system construction and to search for an effective batch processing with a reduced number of idle spaces.

BACKGROUND OF THE INVENTION

The present invention relates to a job scheduling analysis method in a computer system in which a plurality of jobs can operate in parallel, and more particularly to a job scheduling analysis method in which jobs are virtually executed supposing the transfer to a computer system which has a structural difference in job multiplicity, CPU performance, the number of CPUs or the like.

JP-A-5-67069, JP-A-6-83646 and JP-A-6-149597 have disclosed job scheduling, job simulation and job multiplicity control.

In the conventional on-line processing in a large-scale banking system or the conventional on-line processing for merchandise management in a physical distribution industry, a large number of works are performed in order to improve customer's services. The on-line processing is accompanied with a batch data processing for totalling data handled in those works. With the increase of the amount of data to be processed in the on-line processing and the variation of the kind of on-line services, there is a tendency that the amount of data to be processed in the batch processing is increased and the contents of batch processing are complicated.

In general, jobs for performing the on-line processing are called on-line jobs and jobs for performing the batch processing are called batch jobs. In order to cope with the increased number of works, there is a tendency to structure a computer system having a plurality of CPUs so that a batch work is performed by the system.

One technique for structuring such a computer system with plural CPUs includes a system in which a plurality of CPUs are operated by one operating system (OS) with one main memory held in common. This system is called a tightly-coupled multiprocessor system.

Another structuring technique includes a system in which a plurality of computers each having an independent CPU and main storage are coupled by a channel-to-channel coupling device. This system is called a loosely-coupled multiprocessor system.

In the computer system based on each of the structuring techniques mentioned above, it is necessary to organize an efficient job schedule so that a batch processing is completed in a short time. Especially in the loosely-coupled multiprocessor system in which a plurality of independent OSes operate, it is necessary to perform a work with the OSes cooperate.

In recent years, the batch processing is complicated with the variation of works and the increase of the amount of data, as mentioned above. For the purpose of shortening a job processing time, there can be considered a method in which the CPU performance of a computer is improved or a method in which the multiplicity of jobs is increased. But, the improvement of single CPU performance in the former method is nearing a limit in the present situation of the art. Therefore, it seems that the increase of job multiplicity in the latter method is sure to become indispensable for years to come.

However, in order to realize the increase of a batch job multiplicity without destroying the correlation of complicated batch jobs, it is required that the efficiency of job scheduling should be improved. Otherwise, it is not possible to make efficient use of the computer resource of the multiprocessor system.

SUMMARY OF THE INVENTION

An object of the present invention is to provide a job scheduling analysis method in which the planning of a job schedule intended for the shortening of a job processing time can be supported on the basis of historical execution data (or temporal information of previous batch processing) before a batch processing is performed.

Another object of the present invention is to provide a job scheduling analysis method in which in the case where there is a request for a change in job multiplicity or the like in the operational respect of the system, the effect of the change can be evaluated through simulation based on historical execution data before the change is made.

A further object of the present invention is to provide a job scheduling analysis method in which in the case where jobs are distributed in a loosely-coupled multiprocessor system, a computer for executing each job can be determined on the basis of historical data so that a plurality of files accessed by the distributed jobs can be arranged in a disk connected to one computer in the system in order to reduce the frequency of access to a disk connected to another computer in the system, thereby suppressing overhead concerning data transfer.

A still further object of the present invention is to provide a job scheduling analysis method and system in which a job scheduling plan formed on the basis of historical data can be cast in the execution start condition of a job executing system.

An on-line job has a time dependency whereas a batch job for performing a batch data processing has a property that it does not depend on the instant of time of start at which a fixed processing is performed for a predetermined input file. For a job having a configuration in which a plurality of such jobs are periodically repeated, it is possible to estimate the subsequent job execution on the basis of historical execution data. The shortening of an overall processing time for the job having such a property can be contemplated by forming a job scheduling plan before the job is executed. Also, the formation of such a job scheduling plan at the time of system design enables the contemplation of the plan of arrangement of files to disk devices or the like and a preliminary estimation of the job scheduling in the case where a change in system construction is made.

A job scheduling analysis method of the present invention for analyzing a job schedule by use of historical job execution data in a computer system in which a plurality of jobs are executed in parallel, comprises a step of collecting historical execution data of a plurality of executed jobs including the job name, execution start instant and execution end instant of each job, a step of collecting historical file access data including the file name and file close instant of each file accessed by the plurality of jobs during the operation thereof, the historical file access data being referred to from the plurality of jobs, a step of inputting the maximum multiplicity of jobs which can operate in parallel on the computer system, a step of comparing the file name of a file accessed by one job with the file name of a file accessed by another job, and a step of determining, when the file name of the file accessed by the one job coincides with the file name of the file accessed by the other job, an execution start condition of the plurality of jobs on the basis of the file close instant of each job in the historical file access data to execute the one job and the other job at the earliest instants within the maximum job multiplicity, so that the sequence of execution of processings by the one job and the other job is maintained and a job execution time of the one job from its execution start instant until its execution end instant and a job execution time of the other job from its execution start instant until its execution end instant do not overlap each other.

In the present invention, simulation is performed using historical execution data of each job operated on a computer system in which a plurality of jobs can operate in parallel and historical access data of a file subjected to input/output operation by each job during operation thereof. A step of determining an execution start condition of each job from the historical access data and a step of determining an execution time of each job from the historical execution data are provided considering that each batch job is logically executable if there has been generated a file to which the reference is to be made. There is also provided a step of performing simulation under a first condition that a job multiplicity in the computer system made the object of simulation is the maximum number of jobs which can operate in parallel and a second condition that the sequence of execution of jobs follows the execution start condition.

In the case where a change in system operation such as the increase or decrease of a job multiplicity is given as a parameter, the present invention makes it possible to perform the simulation by further providing a step of adding this parameter as a third condition.

In the present invention, a step of making a job grouping beforehand on the basis of the locality of files to be accessed may be provided before the simulation is performed.

According to the present invention, it is possible to determine a job execution start instant based on the present situation of job execution in such a manner that an execution start condition of each job is determined from collected historical access data and an execution time of each job is determined from historical execution data. A virtual job execution based on no job scheduler can be realized by a step of performing simulation under a first condition that a job multiplicity in the computer system made the object of simulation is the maximum number of jobs which can operate in parallel and a second condition that the sequence of execution of jobs follows the determined execution start condition. The result of simulation can provide a job schedule plan which has a shortened processing time.

In the case where a change in system operation such as the increase or decrease of a job multiplicity is given as a parameter, this parameter is added to the execution start condition, thereby making it possible to provide the result of job schedule in the case where the change in system operation was made. As a result, a system restructuring becomes possible with a prospect of solution of problems in the existing system.

By making a job grouping beforehand on the basis of files to be accessed before simulation is performed, it is possible to provide the resulting job schedule under a new condition given as a parameter. As a result, it is possible to provide a job schedule plan on a system such as a loosely-coupled multiprocessor system which is different in construction from the existing system.

It is apparent from the above that according to the present invention, quantitative evaluation concerning a job scheduling can be obtained through static evaluation using the historical execution data with no need to perform a job monitoring by use of the restructured actual system, that is, without imposing a load on a system. Further, it becomes possible to reflect a job schedule in the existing system or to reflect the job schedule in the operation of jobs in a system based on a new parameter.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram showing the construction of an embodiment of a computer system provided with a job scheduling analysis portion 104 for realizing a job scheduling analysis method of the present invention;

FIG. 2 is a diagram for explaining historical job execution data 115 which is information to be inputted in the present invention;

FIG. 3 is a diagram for explaining parameter information 114 which is information to be inputted in the present invention;

FIG. 4 is a diagram for explaining a simulation result 116 which is information to be outputted in the present invention;

FIG. 5 is a diagram showing a specific example of the construction of the job scheduling analysis portion 104 in the present invention;

FIG. 6 is a diagram for explaining the construction of information cells which represent data concerning jobs and are used in the job scheduling analysis method of the present invention;

FIG. 7 is an explanatory diagram showing the table structure of a job information cell for storing data of a job;

FIG. 8 is an explanatory diagram showing the table structure of a job step information cell for storing data of a job step;

FIG. 9 is an explanatory diagram showing the table structure of a file information cell for storing data of an accessed file;

FIG. 10 is a flow chart for explaining a processing performed by a job data analyzing portion 600;

FIG. 11 is a flow chart for explaining a processing performed by a parameter analyzing portion 700;

FIG. 12 is a flow chart for explaining a processing performed by a job grouping portion 800;

FIG. 13 is a flow chart for explaining a processing performed y a simulating portion 900;

FIG. 14 is an explanatory diagram showing a data structure for representing the execution of jobs by simulation; and

FIG. 15 is an explanatory diagram showing the table structure of a space 1001 used in the simulation.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

In the following, embodiments of the present invention will be explained in conjunction with a computer system including one or more computers each of which has one or more CPUs and a disk accessed from the CPU. In the case where the computer system includes a plurality of computers, each of the computers has means for making communication with the other computers.

In this computer system, a plurality of jobs are executed in parallel by a time sharing technique. The number of jobs executed in parallel has an upper limit designated for each computer. This upper limit is called a job multiplicity. The job is composed of one or more job steps. A job step corresponds to a program which is executed in the corresponding job. A file subjected to an operation such as read, write, reference or the like is called an accessed file.

A batch job is logically executable if there as been generated a file to which the reference is to be made. Accordingly, in the case where a file to be accessed by a certain job is being accessed by another job, it is required that the execution of the job should not be started until after the execution of the already-accessed job is completed. Namely, the start of execution of any given job has a restriction as to which job the given job should be started after. This restriction is called a scheduling condition.

Embodiments of the present invention will now be explained in detail by use of the accompanying drawings.

FIG. 1 shows a basic system construction of an embodiment of the present invention. In the present embodiment, a computer 101 is composed of a CPU 102 and a memory 103. The memory 103 has a job scheduling analysis portion 104 for receiving parameter information 114 and historical job execution data 115 (which will be mentioned later on) to perform a job scheduling analysis, a historical system operation data collecting portion 110 for collecting historical system operation data (or temporal information obtained by executing batch jobs in the computer system), and a job scheduling program 111. The job scheduling program 111 includes a job activating portion 112 and a cataloging portion 113. Processing in the above-mentioned portions of the system are performed by the CPU 102.

Jobs inputted to the computer 101 are cataloged into a job catalog 117 by the cataloging portion 113 in the job scheduling program 111. On the basis of the thus produced job catalog 117, the job activating portion 112 activates the job into an executing state. For activation, it is required that each job should be prepared with a job control statement 118 describing which program is to be executed by a job to be activated and which file is to be accessed by the job to be activated. The job activating portion 112 activates a job on the basis of the job control statement 118 upon confirmation of whether or not a resource such as a file or the like necessary for executing the job is ensured.

The job is brought into an executing state through the above procedure. The situation of execution is collected by the historical system operation data collecting portion 110 to produce historical job execution data 115. An example of the construction of the historical job execution data 115 is shown in FIG. 2.

As shown in FIG. 2, the collected historical job execution data may include a job start record 115-1, a job step start record 115-2, a file close record 115-3 concerning an accessed file, a job step end record 115-4, a job end record 115-5, and so forth. Each of these records is generated by an event such as the start of execution of a job or the close of a file. The head or inner part of each record includes a record type representing the event that generates the record. In the present embodiment, the description of the record type defining the job start record as 01, the job step start record as 02, the file close record as 03, the job step end record as 04 and the job end record as 05 is provided at the head of each record.

Further detailed explanation will now be made of each record as the historical job execution data shown in FIG. 2.

The job start record 115-1 includes record type (01), job name, job start date and job start instant. The job step start record 115-2 includes record type (02), job step name, job step start date, job step start instant and name of a job concerned with the generation of this record. The file close record 115-3 concerning an accessed file includes record type (03), file name, file close date, file close instant, name of a job step concerned with the generation of this record and name of a job concerned with the generation of this record. The job step end record 115-4 includes record type (04), job step name, job step end date, job step end instant and name of a job concerned with the generation of this record. The job end record 115-5 includes record type (05), job name, job end date, job end instant and CPU use time.

FIG. 3 shows the structure of the parameter information 114 which is inputted to the job scheduling analysis portion 104 together with the historical job execution data 115 shown in FIG. 2. The parameter information 114 is CPU processing information excepting the historical job execution data 115 which is data concerning jobs. The parameter information 114 includes information necessary for simulation which may include the number of spaces (or the maximum multiplicity of jobs which can be executed in parallel), a CPU performance ratio (or the improvement ratio of the performance of CPU in a new system), the designation concerning the output of simulation result, and so forth. FIG. 3 shows the case where the number of spaces is 30, the CPU performance ratio is 1 (or the CPU has the same performance) and a job grouping is designated to ON (or a grouping function is made available).

Next, the details of the job scheduling analysis portion 104 in the present embodiment will be explained.

As shown in FIG. 1, the job scheduling analysis portion 104 includes a job data analyzing portion 600 for analyzing the above-mentioned historical job execution data 115 (see FIG. 2), a parameter analyzing portion 700 for generating simulation condition defining information (114-1 in FIG. 5) necessary for simulation from the above-mentioned parameter information 114 (see FIG. 3), a job grouping portion 800 for making a job grouping for data generated by the job data analyzing portion 600, and a simulating portion 900 for simulating the situation of execution of jobs on the basis of input data from the job data analyzing portion 600, the parameter analyzing portion 700 and the job grouping portion 800. In the present embodiment, the job scheduling analysis portion 104 and the historical system operation data collecting portion 110 are provided in the same system. However, they may be provided in separate systems.

The result of analysis by the simulating portion 900 is outputted as simulation result 116 by the simulation portion 900. The simulation result 116 is shown in FIG. 4. As shown in FIG. 4, the output information may include a temporal change or transition 116-1 of a job multiplicity after simulation, a list 116-2 of executed jobs, an input format 116-3 for the scheduling program 111, and so forth. The job multiplicity corresponds to the number of jobs simultaneously executed by one CPU in a time sharing manner. The executed job list 116-2 in FIG. 4 shows that jobs executed in a space 1 are JOB1, JOB5 and JOB3 and jobs executed in a space 2 are JOB2 and JOB8. It is further shown that, for example, JOB1 is executed from 7:00 to 7:45 and the execution time of JOB1 is 45 minutes. The executed job list may include a resource which is used for each job.

The input format 116-3 for the job scheduling program 111 is inputted to the job scheduling program 111 so that it is reflected in the job catalog 117. The shown input format 116-3 for the job scheduling program 111 includes an indicating statement which describes, for example, JOB1 as being executed in the space 1 from 7:00.

The details of the job scheduling analysis portion 104 are shown in FIG. 5.

On the basis of the historical job execution data 115, the job data analyzing portion 600 generates information cells 200, each of which is the unit of information used for simulation.

An example of the information cell construction is shown in FIG. 6. The information cells 200 are roughly classified into job information cells 201, job step information cells 202 and file information cells 203 in accordance with the kind of historical data included in the historical job execution data 115. The information cell 200 has a table structure with a related information cell being pointed by an element (or pointer) in the table structure so that the whole of information cells takes a list structure. The job information cell 201 designates a list of job step information cells 202 of job steps which form the corresponding job. The job step information cell 202 designates a file information cell 203 of a file which is accessed by the corresponding job step. A set of job information, job step information and file information cells 201, 202 and 203 represent information of the whole job.

Since the historical job execution data 115 include a plurality of jobs made the object of analysis, the job information cells 201 themselves take a list structure so that the next job information cell 201 is successively designated by a pointer.

Next, the detailed table structures of the above-mentioned information cells will be explained by use of FIGS. 7 to 9. Together with information for forming the list structure of information cells, information included in the historical execution data is stored in each information cell, as required.

FIG. 7 shows the table structure of the job information cell 201. In FIG. 7, a pointer 301 points the next element in the list of job information cells. A pointer 302 points the head of the list of information cells of job steps which form the corresponding job. Reference numeral 303 denotes a field for storing a job name for discriminating the corresponding job, numeral 304 a field for storing a job start instant, and numeral 305 a field for storing a job end instant. The information in these fields is used when an execution condition is determined by the simulating portion 900. Numeral 306 denotes a field for storing a total CPU use time for the corresponding job.

FIG. 8 shows the table structure of the job step information cell 202. In FIG. 8, a pointer 401 points the next element (or the next job step information cell) in the list of job step information cells. A pointer 402 points the head of the list of information cells of files accessed by the corresponding job step. Reference numeral 403 denotes a field for storing a job step name for discriminating the corresponding job step, and numeral 404 denotes a field for storing the name of a program executed by the corresponding job step.

FIG. 9 shows the table structure of the file information cell 203. In FIG. 9, a pointer 501 points the next element (or the next file information cell) in the list of file information cells. Reference numeral 502 denotes a field for storing a file name for discriminating the corresponding file. This information is used when the execution condition is determined by the simulating portion 900.

The detailed explanation of the flow of a processing performed by the job data analyzing portion 600 will now be made using a flow chart shown in FIG. 10.

In step 601, the leading data is read from historical job execution data 115 as shown in FIG. 2 so that processings in steps 602 to 606 are continued until the historical job execution data 115 runs out (or the job execution information file having the data 115 becomes empty).

In the case where the read record is such that no information cell for storing the contents of that record exists in an information cell list generated before the reading of that record (for example, as in the case of a job start record), it is necessary to newly generate an information cell for storing the contents of the record. Therefore, the judgement is made of whether or not the read data in the historical job execution data 115 is of a record type for which a new information cell should be produced (step 602).

In the case where the result of judgement in step 602 is true, the judgement of whether the corresponding record concerns job, job step or file is made on the basis of the contents of that record to ensure an area for an information cell having the corresponding type or format (step 603). The data is stored into the ensured information cell area while information for forming a list structure (for example, a pointer for the new information cell from the list) is set (step 604).

In the case where the result of judgement in step 602 is false, the data is stored into a corresponding information cell in the previously generated information cell list (step 605).

Thereafter, the flow returns to judgement step 601 with the next data in the historical job execution data 115 made the object of processing (step 606).

The parameter analyzing portion 700 analyzes parameter information 114 as shown in FIG. 3 to generate simulation condition defining information 114-1.

The detailed explanation of a processing by the parameter analyzing portion 700 will now be made using a flow chart shown in FIG. 11.

In step 701, a parameter is read from the parameter information 114 so that processings in steps 702 to 703 are continued until parameters in the parameter information 114 run out (or the parameter information file having the information 114 becomes empty).

The judgement as to the type of the read parameter in the parameter information 114 is made so that the parameter is reflected in the simulation condition defining information 114-1 corresponding to the type of the parameter (step 702). For example, the multiplicity of executed jobs is read as the number of spaces from the parameter information 114 so that it is set into a corresponding item in the simulation condition defining information 114-1.

In order to continue the processing, the flow returns to judgement step 701 with the next parameter in the parameter information 114 made the object of processing (step 703).

The job grouping portion 800 is used in the case where it is desired to obtain the result of a job grouping aimed at the locality of file access in planning a change to a loosely-coupled multiprocessor system. A plurality of groups of jobs are assigned to the respective processors and are executed in parallel. With a processing by the job grouping portion 800, the list of job information cells 201 is divided into a plurality of list groups each having the information cells of jobs in which files to be accessed overlap each other. The simulating portion 900 performs simulation in units of one job group generated by the job grouping portion 800, thereby making it possible to provide the result of a scheduling analysis using the job grouping in which the overlapping of files to be accessed is eliminated or made less.

The detailed explanation of a processing by the job grouping portion 800 will now be made using a flow chart shown in FIG. 12.

In step 801, the reference is made to table data in the simulation condition defining information 114-1 (see FIGS. 3 and 5) designating whether or not a job grouping is to be made. In the case where the job grouping is to be made or there is the designation of the grouping to ON, processings in steps 802 to 804 are performed. On the other hand, in the case where there is no designation of the grouping to ON, the flow is completed with no processing performed.

In the case where there is the designation of the grouping to ON (step 801), a job information cell 201 is read to continue processings in steps 802 to 804 until the list of job information cells 201 becomes empty (step 802).

In step 803, the search of the list of job information cells 201 is successively made for jobs making access to the same file as that accessed by a job represented by the job information cell 201 read in step 802 to make a job grouping with the searched-out jobs being regarded as the same group. Jobs making access to the same file as that accessed by the jobs regarded as the same group are also regarded as belonging to the same group.

With the next job information cell 201 made the object of processing (step 804), the flow returns to step 802 to perform a similar processing again.

Next, the procedure of simulation of job execution by the simulating portion 900 will be explained in detail by use of FIGS. 13, 14 and 15.

FIG. 13 shows a flow chart for explaining a processing performed by the simulating portion 900. FIG. 14 shows, as simulation data 1000, a schematic representation of the cell reconnection in the list of job information cells 201 (or the change in pointer relation in the list) which is performed in the flow shown in FIG. 13. In FIG. 14, symbols 201-j (j=1 to i) represent a series of job information cells. An example of the table structure of a space 1001 in FIG. 14 is shown in FIG. 15.

In the table structure of the space 1001 shown in FIG. 15, a pointer 1101 is provided for pointing the next space 1001. This pointer relation is shown by a blank arrow in FIG. 14. Also, a pointer 1102 is provided for pointing the head of a list of job information cells which are connected to the corresponding space 1001. This pointer relation is shown by a solid arrow in FIG. 14.

The operation of the simulating portion 900 will now be explained in detail along the flow chart shown in FIG. 13.

In step 901, information is read from simulation condition defining information 114-1 as shown in FIG. 5 to perform processings in steps 902 to 903 until the simulation condition defining information 114-1 runs out. When the simulation condition defining information 114-1 runs out, the flow proceeds to step 904.

In step 902, there is performed a processing which corresponds to the read new simulation condition (see FIG. 3). For example, in the case where the simulation condition is a change in parameter of the number of spaces representing the maximum job multiplicity, spaces 1001 corresponding in number to the maximum job multiplicity are ensured in a memory area. Also, in the case where the simulation condition is a CPU performance ratio, the CPU use time 306 in the job information cell 201 shown in FIG. 7 is determined in accordance with the ratio (for example, in the form of time/ratio or in terms of ratio) and the job end instant 305 (see FIG. 7) is correspondingly rewritten.

In order to make successive extraction from the head of a list of job information cells 201 to be connected (200 see FIG. 14), the judgement is made of whether or not there are job information cells 201 to be connected (step 904). In the case where there are job information cells 201 to be connected, the cells 201 are extracted in due order from the head of the cell list to perform processings in steps 905 to 911 until the list becomes empty.

In step 905, the file close instant of a file accessed from a job of the extracted job information cell 201 is compared with those of the same file accessed from other jobs to determine a scheduling condition such as file acceptance for each job, that is, a condition that the time sequence of a plurality of jobs making access to the same file is maintained.

On the basis of the scheduling condition determined in step 905, a possible execution start instant is determined in accordance with the job end instants of the other jobs making access to the same file (step 906).

The contents of a list of job information cells having already been connected to the spaces 1001 before the possible execution start instant determined in step 906 are searched to make the judgement of whether or not there is a space which is idle at the determined possible execution start instant, that is, whether or not the job execution is possible at the determined possible execution start instant (step 907).

In the case where the step of judgement in step 907 is true (or the job execution is possible at the possible execution start instant determined in step 906), the job information cell is connected to the idle space 1001 to establish a pointer relation (step 908). At this time, the job information cell is connected to the space 1001 together with job step information cells designated (or pointed) by that job information cell.

In the case where the result of judgement in step 907 is false (or the job execution is not possible at the determined possible execution start instant determined in step 906), simulation is performed or the job information cell is connected to a space 1001 in which the job execution becomes possible at the earliest instant later than the possible execution start instant while maintaining the time sequence of a plurality of jobs making access to the same file (step 909).

After the connection of the job information cells is completed, data such as job execution time or the like in the job information cell is rewritten (step 910) and the flow returns to judgement step 904 with the next job information cell made the object of processing.

In the course of the processing by the simulating portion 900, there may be generated a time in which no job is executed. Such a time can be represented by a job information cell indicating the idleness. Thereby, it is possible to represent idle times in a job information cell list in the spaces 1001.

Next, specific explanation will be made of how job information cells are changed by steps 904 to 911 in the simulating portion 900. The explanation will be made referring to FIG. 14.

In judgement step 904, reference is made to a list 200 of unprocessed job information cells to be connected. In the case of the example shown in FIG. 14, cells 201-1, 201-2, - - - and 201-i exist as the unprocessed job information cells and hence the result of judgement by step 904 is affirmative. Therefore, the cells 201-1, 201-2, - - - and 201-i are extracted in due order from the head of the list 200 to perform processings in steps 905 to 911 for each cell.

In processing the job information cell 201-1 at the head of the list 200, the judgement is first made of which job in a job information cell list on a memory representing the result of simulation should the job information cell 201-1 be executed after (steps 905 to 908 or 909). The judgement is made on the basis of a close instant in the file close record of each job. In the example shown in FIG. 14, it is determined that the job information cell 201-1 should be executed after the job information cell 201-4. In this case, the job information cell 201-1 is reconnected to the rear of the job information cell 201-4 in step 908 or 909. At the same time, the job information cell 201-1 is eliminated from the unprocessed job information cell list 200.

As has been mentioned in the foregoing, the present embodiment makes it possible to represent the situation of job execution as a list of information cells on a memory and to perform simulation by use of parameter information and historical job execution data. 

We claim:
 1. A job scheduling analysis method for analyzing a job schedule by use of historical job execution data in a processor system in which a plurality of jobs are executed in parallel, comprising:a step of collecting historical execution data of a plurality of executed jobs including the job name, execution start instant and execution end instant of each job; a step of collecting historical file access data including the file name and file close instant of each file accessed by said plurality of jobs during the execution thereof, said historical file access data being referred to from said plurality of jobs; a step of inputting a designated value of the maximum job multiplicity of jobs which can be executed in parallel on said processor system; a step of comparing the file name of a file accessed by one job with the file name of a file accessed by another job; and a step of determining, when the file name of said file accessed by said one job coincides with the file name of said file accessed by said other job, an execution start condition of said plurality of jobs on the basis of the file close instant of each job in said historical file access data to execute said one job and said other job at the earliest instants within said designated value of said maximum job multiplicity so that the sequence of execution of processings by said one job and said other job is maintained, and so that a job execution time of said one job from its execution start instant until its execution end instant and a job execution time of said other job from its execution start instant until its execution end instant do not overlap each other.
 2. A job scheduling analysis method according to claim 1, further comprising the steps of:reading parameter information describing a hardware configuration to be changed; and changing said historical execution data on the basis of said hardware configuration.
 3. A job scheduling analysis method according to claim 2, further comprising a simulating step in which, when the file name of said file accessed by said one job coincides with the file name of said file accessed by said other job, the grouping of said one job and said other job to one group is made and simulation is performed with jobs in said one group being made the object of simulation.
 4. A job scheduling analysis method according to claim 1, further comprising a simulating step in which, when the file name of said file accessed by said one job coincides with the file name of said file accessed by said other job, the grouping of said one job and said other job to one group is made and simulation is performed with jobs in said one group being made the object of simulation.
 5. A job scheduling analysis method according to claim 4, further comprising a step of determining, when the file name of said file accessed by said one job does not coincide with the file name of said file accessed by said other job, an execution start condition of said plurality of jobs so that each job is executed at the earliest instant within said designated value of said maximum job multiplicity.
 6. A job scheduling analysis method according to claim 1, further comprising a step of executing simulation of said one job and said other job in satisfaction of said execution start condition.
 7. A job scheduling analysis method according to claim 1, further comprising a step of executing said plurality of jobs in parallel in said processor system on the basis of said execution start condition of said plurality of jobs.
 8. A job scheduling analysis method according to claim 1, further comprising a step of displaying the number of jobs being executed in parallel on said processor system in accordance with time.
 9. A job scheduling analysis method according to claim 8, further comprising:a step of inputting the number of spaces within said designated value of said maximum job multiplicity; and a step of determining, when the file name of said file accessed by said one job coincides with the file name of said file accessed by said other job, an execution start condition of said plurality of jobs on the basis of the file close instant of each job in said historical file access data to execute said one job and said other job at the earliest instants within said number of spaces so that the sequence of execution of processings by said one job and said other job is maintained, and so that a job execution time of said one job from its execution start instant until its execution end instant and a job execution time of said other job from its execution start instant until its execution end instant do not overlap each other.
 10. A job scheduling analysis method according to claim 1, further comprising:a step of inputting the number of spaces within said designated value of said maximum lob multiplicity; and a step of determining, when the file name of said file accessed by said one job coincides with the file name of said file accessed by said other job, an execution start condition of said plurality of jobs on the basis of the file close instant of each job in said historical file access data to execute said one job and said other job at the earliest instants within said number of spaces so that the sequence of execution of processings by said one job and said other job is maintained, and so that a job execution time of said one job from its execution start instant until its execution end instant and a job execution time of said other job from its execution start instant until its execution end instant do not overlap each other.
 11. A job scheduling analysis method according to claim 10, further comprising a simulating step in which, when the file name of said file accessed by said one job coincides with the file name of said file accessed by said other job, the grouping of said one job and said other job to one group is made and simulation is performed with jobs in said one group being made the object of simulation.
 12. A job scheduling analysis method for analyzing a job schedule by use of historical job execution data in a processor system in which a plurality of jobs are executed in parallel, comprising:a step of collecting historical execution data of a plurality of executed jobs including the job name, job execution start instant and job execution end instant of each job to generate job information cells; a step of collecting historical job step data including the job step name, job step start instant and job step end instant of each of job steps executed by each of said plurality, of jobs during the execution thereof to generate job step information cells, said historical job step data being pointed from said plurality of jobs; a step of collecting historical file access data including the file name and file close instant of a file accessed by each job step during the execution of said plurality of jobs to generate file information cells, said historical file access data being pointed from said plurality of jobs; a step of inputting a designated value of the maximum job multiplicity of jobs which can executed in parallel on said processor system; a step of comparing the file name of a file accessed by one job with the file name of a file accessed by another job on the basis of said job information cells, said job step information cells and said file information cells; and a step of determining, when the file name of said file accessed by said one job coincides with the file name of said file accessed by said other job, an execution start condition of said plurality of jobs on the basis of the file close instant of each job in said historical file access data to execute said one job and said other job at the earliest instants within said designated value of said maximum job multiplicity so that the sequence of execution of processings by said one job and said other job is maintained, and so that a job execution time of said one job from its execution start instant until its execution end instant and a job execution time of said other job from its execution start instant until its execution end instant do not overlap each other.
 13. A job scheduling analysis method according to claim 12, further comprising a step of determining, when the file name of said file accessed by said one job does not coincide with the file name of said file accessed by said other job, an execution start condition of said plurality of jobs so that each job is executed at the earliest instant within said designated value of said maximum job multiplicity.
 14. A job scheduling analysis method according to claim 12, further comprising a simulating step in which, when the file name of said file accessed by said one job coincides with the file name of said file accessed by said other job, the grouping of said one job and said other job to one group is made and simulation is performed with jobs in said one group made the object of simulation.
 15. A job scheduling analysis method according to claim 12, further comprising a step of determining, when the file name of said file accessed by said one job does not coincide with the file name of said file accessed by said other job, an execution start condition of said plurality of jobs so that each job is executed at the earliest instant within said designated value of said maximum job multiplicity.
 16. A job scheduling analysis method according to claim 15, further comprising a step of executing simulation of said one job and said other job in satisfaction of said execution start condition.
 17. A job scheduling analysis method according to claim 15, further comprising a step of executing said plurality of jobs in parallel in said processor system on the basis of said execution start condition of said plurality of jobs.
 18. A job scheduling analysis method according to claim 15, further comprising a step of displaying the number of jobs being executed in parallel on said processor system in accordance with time.
 19. A job scheduling analysis method according to claim 18, further comprising:a step of inputting the number of spaces within said designated value of said maximum job multiplicity; and a step of determining, when the file name of said file accessed by said one job coincides with the file name of said file accessed by said other job, an execution start condition of said plurality of jobs on the basis of the file close instant of each job in said historical file access data to execute said one job and said other job at the earliest instants within said number of spaces so that the sequence of execution of processings by said one job and said other job is maintained, and so that a job execution time of said one job from its execution start instant until its execution end instant and a job execution time of said other job from its execution start instant until its execution end instant do not overlap each other.
 20. A job scheduling analysis method according to claim 12, further comprising:a step of inputting the number of spaces within said designated value of said maximum lob multiplicity; and a step of determining, when the file name of said file accessed by said one job coincides with the file name of said file accessed by said other job, an execution start condition of said plurality of jobs on the basis of the file close instant of each job in said historical file access data to execute said one job and said other job at the earliest instants within said number of spaces so that the sequence of execution of processings by said one job and said other job is maintained, and so that a job execution time of said one job from its execution start instant until its execution end instant and a job execution time of said other job from its execution start instant until its execution end instant do not overlap each other.
 21. A job scheduling analysis method according to claim 20, further comprising a step of determining, when the file name of said file accessed by said one job does not coincide with the file name of said file accessed by said other job, an execution start condition of said plurality of jobs so that each job is executed at the earliest instant within said designated value of said maximum job multiplicity.
 22. A job scheduling analysis method according to claim 21, further comprising the steps of:reading parameter information describing a hardware configuration to be changed; and changing contents of said job information cells on the basis of said hardware configuration.
 23. A job scheduling analysis method according to claim 20, further comprising a step of executing said plurality of jobs in parallel in said processor system on the basis of said step of changing contents of said job information cells.
 24. A job scheduling analysis method according to claim 23, further comprising a step of displaying the number of jobs being executed in parallel on said processor system in accordance with time.
 25. A job scheduling analysis system for analyzing a job schedule by use of historical job execution data for a computer system in which a plurality of jobs are executed in parallel, comprising:a job execution information file having historical execution data of a plurality of executed jobs including the job name, job execution start instant and job execution end instant of each job and historical file access data including the file name and file close instant of a file accessed by each job step during the execution of said plurality of jobs, said historical file access data being pointed from said plurality of jobs; a parameter information file having a designated value of the maximum job multiplicity of jobs which can be executed in parallel on said computer system and a parameter which indicates whether or not the grouping of said plurality of jobs should be made; a computer connected to said job execution information file and said parameter information file for executing said plurality of jobs; information cell means for collecting said historical file access data to generate information cells in a memory; comparing means for comparing the file name of a file accessed by one job with the file name of a file accessed by another job on the basis of said information cells; and job scheduling analysis means for determining, when the file name of said file accessed by said one job coincides with the file name of said file accessed by said other job, an execution start condition of said plurality of jobs on the basis of the file close instant of each job in said historical file access data to execute said one job and said other job at the earliest instants within said designated value of said maximum job multiplicity so that the sequence of execution of processings by said one job and said other job is maintained, and so that a job execution time of said one job from its execution start instant until its execution end instant and a job execution time of said other job from its execution start instant until its execution end instant do not overlap each other.
 26. A job scheduling analysis system according to claim 25, further comprising means for executing the steps of:reading parameter information describing a hardware configuration to be changed; and changing contents of said job information cells on the basis of said hardware configuration.
 27. A job scheduling analysis system according to claim 26, further comprising means for executing simulation of said one job and said other job in satisfaction of said execution start condition.
 28. A job scheduling analysis system according to claim 27, further comprising simulating means by which, when the file name of said file accessed by said one job coincides with the file name of said file accessed by said other job and said parameter indicates the execution of the grouping, the grouping of said one job and said other job to one group is made and simulation is performed with jobs in said one group made the object of simulation.
 29. A job scheduling analysis system according to claim 25, wherein when the file name of said file accessed by said one job does not coincide with the file name of said file accessed by said other job, said job scheduling analysis means determines an execution start condition of said plurality of jobs so that each job is executed at the earliest instant within said designated value of said maximum job multiplicity.
 30. A job scheduling analysis system according to claim 29, further comprising a job control statement file for starting the execution of said plurality of jobs in parallel in said computer system on the basis of said execution start condition of said plurality of jobs.
 31. A job scheduling analysis system according to claim 27, further comprising means for assigning said other job, when the file name of said file accessed by said one job does not coincide with the file name of said file accessed by said other job, to a space equal in number to said designated value of said maximum job multiplicity which can assign the earliest instant, said assigning means further assigning another job for which the file name of a file to be accessed coincides with the file name of the file accessed by one of said one job and said other job, to another space equal in number to said designated value of said maximum job multiplicity which can assign the earliest instant later than the end instant of said one of said one job and said other job.
 32. A job scheduling analysis system according to claim 31, further comprising simulation means for executing simulation by setting pointers for contents in said plurality of job information cells based on an output of said assigning means.
 33. A job scheduling analysis system according to claim 32, further comprising output means for outputting a result of said simulation made by said simulation means. 